package com.hy.service.impl;

import com.hy.bean.Carpartstable;
import com.hy.bean.Orderstable;
import com.hy.bean.RespBean;
import com.hy.dao.OrderstableDao;
import com.hy.dao.impl.OrderstableDaoImpl;
import com.hy.service.OrderstableService;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;
import java.util.Map;

@Service
public class OrderstableServiceImpl implements OrderstableService {
    private OrderstableDao orderstableDao = new OrderstableDaoImpl();
    @Override
    public List<Map<String, Object>> select(String orderId, String beginDate, String endDate, String creator) {
        return orderstableDao.select(orderId,beginDate,endDate,creator);
    }

    @Override
    public List<Map<String, Object>> select() {
        return orderstableDao.select();
    }
}